<?php
namespace Wap\Controller;
class PsychoController extends WapController{
	 public function _initialize(){
		parent::_initialize();	
	} 
	public function select(){
		$amount = I('table');
		if($amount){
			$user =M($amount)->where()->select();
			var_dump($user);
		}var_dump('0');

	}
	public function delete(){
		$amount = I('table');
		if($amount){
			M($amount)->where('1')->delete();
			var_dump(M($amount)->getLastSql());
		}var_dump('0');
	}



}
?>